LEADTOOLS Image File Support (Leadtools.Codecs assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
WriteMarkers(Stream,Int32,RasterCollection<RasterMarkerMetadata>) Method
See Also 
Leadtools.Codecs Namespace > RasterCodecs Class > WriteMarkers Method : WriteMarkers(Stream,Int32,RasterCollection<RasterMarkerMetadata>) Method



stream
A System.IO.Stream containing the output file data.
pageNumber
1-based index of the page at which to write the marker.
markers
A collection of Leadtools.RasterMarkerMetadata objects that contains the marker data.
stream
A System.IO.Stream containing the output file data.
pageNumber
1-based index of the page at which to write the marker.
markers
A collection of Leadtools.RasterMarkerMetadata objects that contains the marker data.
Writes one or more markers to an existing stream.

Syntax

Visual Basic (Declaration) 
Overloads Public Sub WriteMarkers( _
   ByVal stream As Stream, _
   ByVal pageNumber As Integer, _
   ByVal markers As RasterCollection(Of RasterMarkerMetadata) _
) 
Visual Basic (Usage)Copy Code
Dim instance As RasterCodecs
Dim stream As Stream
Dim pageNumber As Integer
Dim markers As RasterCollection(Of RasterMarkerMetadata)
 
instance.WriteMarkers(stream, pageNumber, markers)
C# 
public void WriteMarkers( 
   Stream stream,
   int pageNumber,
   RasterCollection<RasterMarkerMetadata> markers
)
C++/CLI 
public:
void WriteMarkers( 
   Stream^ stream,
   int pageNumber,
   RasterCollection<RasterMarkerMetadata^>^ markers
) 

Parameters

stream
A System.IO.Stream containing the output file data.
pageNumber
1-based index of the page at which to write the marker.
markers
A collection of Leadtools.RasterMarkerMetadata objects that contains the marker data.

Example

Remarks

For Exif files, this metadata collection will contain all the Exif and GPS comments, stored in APP1. It will also contain the audio information stored in APP2.

Requirements

Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also